package com.yssoft.entity.core;

import java.util.Date;

import javax.persistence.Table;
import javax.persistence.Transient;

@Table(name = "t_supplier")
public class TSupplier {
	/**
	 * 主键id
	 */
    private Integer id;
    /**
	 * 企业id
	 */
    private Integer tEId;
    /**
	 * 供应商类别
	 */
    private Integer supplierClify;
    /**
	 * 供应商名称
	 */
    private String name;
    /**
	 * 供应商地址
	 */
    private String address;
    /**
	 * 法人
	 */
    private String legalPerson;
    /**
	 * 联系人
	 */
    private String contact;
    /**
	 * 联系电话
	 */
    private String phone;
    /**
	 * 电子邮箱
	 */
    private String email;
    /**
	 * 创建时间
	 */
    private Date createTime;
    /**
	 * 创建人Id
	 */
    private Integer creatorId;
    /**
	 * 创建人姓名
	 */
    private String creatorName;
    /**
	 * 部门Id
	 */
    private Integer deptId;
    /**
	 * 部门名称
	 */
    private String deptName;
    /**
	 * 企业简介
	 */
    private String introduction;
    /** 
     * 删除flag 
     */
	private String deleteFlag;
	
	@Transient
	private Integer start;
	
	@Transient
	private Integer end;

    public Integer getStart() {
		return start;
	}

	public void setStart(Integer start) {
		this.start = start;
	}

	public Integer getEnd() {
		return end;
	}

	public void setEnd(Integer end) {
		this.end = end;
	}

	

	public String getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(String deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer gettEId() {
        return tEId;
    }

    public void settEId(Integer tEId) {
        this.tEId = tEId;
    }

    public Integer getSupplierClify() {
        return supplierClify;
    }

    public void setSupplierClify(Integer supplierClify) {
        this.supplierClify = supplierClify;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getLegalPerson() {
        return legalPerson;
    }

    public void setLegalPerson(String legalPerson) {
        this.legalPerson = legalPerson == null ? null : legalPerson.trim();
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact == null ? null : contact.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Integer creatorId) {
        this.creatorId = creatorId;
    }

    public String getCreatorName() {
        return creatorName;
    }

    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName == null ? null : creatorName.trim();
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName == null ? null : deptName.trim();
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction == null ? null : introduction.trim();
    }
}